package com.ldc.security.model;

import com.ldc.model.SysUser;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;

/**
 * 功能描述
 *
 * @author liudi
 * @since 2023/8/6
 */
public interface SecurityUserDetails extends UserDetails {

    SysUser getSysUser();

    void setSysUser(SysUser userBean);

    void setAuthorities(Collection<SecurityGrantedAuthority> authorities);
}
